package com.msb.mall.order.feign;

import com.msb.common.utils.R;
import com.msb.mall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient("mall-ware")
public interface WareFeignService {


    @PostMapping("ware/waresku/lockStock")
    R toLockStock(List<OrderItemVo> checkCartItems);
}
